package main

import "fmt"

type Object struct {
	id int
}
type Person struct {
	Object
	name string
	age  int
}
type Student struct {
	Person
	score float64
}

func main() {
	var stu Student = Student{Person{Object{1}, "2", 2}, 32.5}
	fmt.Println(stu)
	fmt.Println(stu.id)
	fmt.Println(stu.Person.Object.id)
}
